<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>:: Order Yarn Dye ::</title>

<script language="javascript" type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/javascript.js"></script>
<link rel="stylesheet" href="<%= request.getContextPath() %>/common-css/orderyd-css/style.css" type="text/css" />
<link rel="stylesheet" href="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.picker.css" type="text/css" />
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.plus.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.picker.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.thai.pack.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.thai-th.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.picker-th.js"></script>
<script type="text/javascript" src="<%= request.getContextPath() %>/common-css/orderyd-css/calendar/jquery.calendars.thai.min.js"></script>

<script type="text/javascript">
$(function() {
	$('#popupDatepicker').calendarsPicker();
});

</script>
</head>
<body onload="DateTime();">

<form name="form1" method="post" id="form1" action="<%= request.getContextPath() %>/orderyd/orderyd.do">
	<input type="hidden" name="mode" value="add" />
<table border="0" width="100%">
<tr>
<td width="50%" align="right">Yarn Dye Order : <input type="text" name="order_NO" /></td>
<td align="left">Date :<input type="text" name="dmy" id="popupDatepicker" /></td>
</tr>
<tr>
<td align="right">Order Plan : <input type="text" name="order_Plan" /></td>
<td align="left">Plan : <input type="text" name="plan"/></td>
</tr>
<tr>
<td colspan="2">
<div align="right">
<input type="button" name="plus" onclick="add();" value="+" class="button" />
<input type="button" name="reset" onclick="window.location.reload();" class="button" value="Reset" />
</div>
<table border="0" width="100%" id="maininput">
  <tr>
    <th>NO.</th>
    <th colspan="3">COL NO.</th>
    <th>LOT NO.</th>
    <th>COUNT</th>
    <th>PBLS</th>
    <th>LBS</th>
    <th>SHADE</th>
    <th>W / P</th>
    <th>REC</th>
    <th>ORG. REC</th>
    <th>CHEESE</th>
    <th>FUAI</th>
  </tr>
  <tr>
    <td>1</td>
    <td><input type="text" id="COL_NO1" name="COL_NO" class="COL" /></td>
    <td>&nbsp;-</td>
    <td><input type="text" id="COL_SUB1" name="COL_SUB" class="COL2" onchange="addsub(1);" /></td>
    <td><input type="text" id="LOT_NO1" name="LOT_NO" class="COL3" /></td>
    <td><input type="text" id="COUNT1" name="COUNT" class="COL3" /></td>
    <td><input type="text" id="PBLS1" name="PBLS" class="COL3" /></td>
    <td><input type="text" id="LBS1" name="LBS" class="COL3" /></td>
    <td>
        <select id="SHADE1" name="SHADE" class="list">
        <option value="P" >P</option>
        <option value="M" >M</option>
        <option value="D" >D</option>
    </select>
    </td>
    <td>
    <select id="WP1" name="WP" class="list">
        <option value="W" >W</option>
        <option value="P" >P</option>
    </select>
    </td>
    <td>
    <select id="REC1" name="REC" class="list">
        <option value="BB" >BB</option>
        <option value="SBB">SBB</option>
        <option value="BC">BC</option>
        <option value="SBC">SBC</option>
        <option value="SS">SS</option>
    </select>
    </td>
    <td><input type="text" id="ORG1" name="ORG" class="COL3" /></td>
    <td>
    <select id="CHEESE1" name="CHEESE" class="list">
        <option value="C" >C</option>
        <option value="CS" >CS</option>
    </select>
	</td>
    <td>
        <select id="FUAI1" name="FUAI" class="list">
        <option value=" " ></option>
        <option value="F" >F</option>
    </select>
	</td>
  </tr>
</table>
<br />
  <input type="submit" name="submit" value="บันทึก" class="button" />
  <input type="button" name="ยกเลิก" value="ยกเลิก" class="button" />
  <input type="hidden" name="hdnMaxLine" value="1" />
  <input type="hidden" name="MaxLine" value="1" />
</td>
</tr>
</table>
</form>
</body>
</html>